<template>
    <div class="demo">      
        <h2>年龄{{MyAge}}</h2>
        <input type="text" class="test">
        <button >尝试修改年龄</button>
    </div>
</template>
<script>
    export default {
        name: 'StudentN',
        data() {
            return {
                name: '脚手架配置',
                MyAge:1
            }
        }
    }
</script>
<style scoped lang="less">
.demo{
    background-color: skyblue;
    .test{
        font-size:20px
    }
}
</style>